<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">

  <title>酒店官网酒店预订退订</title>
  <link rel="stylesheet" href="${pageContext.request.contextPath}/bootstrap/css/bootstrap.min.css">
  <script src="http://code.jquery.com/jquery-2.1.1.min.js"></script>
  <script src="${pageContext.request.contextPath}/bootstrap/js/bootstrap.min.js"></script>
  <link rel="stylesheet" href="${pageContext.request.contextPath}/css/index.css">
  <link rel="stylesheet" href="${pageContext.request.contextPath}/css/neirong/styles.css">
  <link rel="stylesheet" href="${pageContext.request.contextPath}/css/wode/dingdan/styles.css">
  <script type="text/javascript" src="${pageContext.request.contextPath}/js/content.js"></script>
  <script type="text/javascript">
    var servletUrl = "${pageContext.request.contextPath}"
  </script>
</head>

<body>
  <div class="container">
    <nav class="navbar navbar-expand-lg navbar-light ">
      <a class="navbar-brand" href="${pageContext.request.contextPath}/index.jsp">
        <img src="${pageContext.request.contextPath}/images/index/logo.png" alt="" style="width: 10vw;">
      </a>

      <div class="collapse navbar-collapse" id="navbarNavAltMarkup">
        <div class="navbar-nav">
          <a class="nav-item nav-link" href="#">酒店预订</a>
          <a class="nav-item nav-link" href="#">积分商城</a>
          <a class="nav-item nav-link" href="#">关于首旅如家</a>
        </div>

      </div>
      <div class="login">
        <img src="${pageContext.request.contextPath}/images/index/denglu.png" alt="">
        <c:choose>
          <c:when test="${not empty curUser}">

            <span>欢迎您，</span>
            <a href="${pageContext.request.contextPath}/InfoServlet?type=jiabinhui">${curUser.username}</a>|<a
            href="${pageContext.request.contextPath}/ExitServlet">退出</a>
          </c:when>
          <c:otherwise>
            <a href="${pageContext.request.contextPath}/jsp/login.jsp">登录</a>|<a
            href="${pageContext.request.contextPath}/jsp/register.jsp">注册</a>
          </c:otherwise>
        </c:choose>
      </div>
    </nav>
  </div>
  <hr>
  <div class="daohang">
    <ol class="breadcrumb" style="background-color:transparent;font-size:8px;">
      <li>当前位置： <a href="index.jsp">首旅如家</a>&nbsp;/&nbsp;</li>
      <li class="active">&nbsp;建国铂萃酒店</li>
    </ol>
  </div>
  <div class="zhong">
    <div class="zuo">
      <div class="zuoxiao"><a href="${pageContext.request.contextPath}/jsp/bocuiHotel.jsp" class="cur">建国铂萃酒店</a></div>
      <div class="zuoxiao"><a href="${pageContext.request.contextPath}/jsp/jianguoHotel.jsp">建国饭店</a></div>
      <div class="zuoxiao"><a href="${pageContext.request.contextPath}/jsp/nanyuanHotel.jsp">首旅南苑</a></div>
      <div class="zuoxiao"><a href="${pageContext.request.contextPath}/jsp/jinglunHotel.jsp">京伦饭店</a></div>
    </div>
    <div class="you">
        <div class="youshang">
          <div class="changyongdizhi"><h4>请选择您要预订的房间标准</h4></div>
        </div>
        <hr>
        <div class="youxia">
          <div class="youxiashang">
            <div class="youxiashangxiao" style="font-size:17px;width: 25%">标准</div>
            <div class="youxiashangxiao" style="font-size:17px;width: 25%">房间剩余量</div>
            <div class="youxiashangxiao" style="font-size:17px;width: 25%">房间价格</div>
            <div class="youxiashangxiao" style="font-size:17px;width: 25%"></div>
          </div>
          <div class="youxiaxia">
            <table class="table table-hover">
                <tr>
                  <td style="font-size:15px;width: 25%">单人标间</td>
                 <td style="font-size:15px;width: 25%">${hotel.standard_num}</td>
                 <td style="font-size:15px;width: 25%">${hotel.standard_price}元</td>
                 <td style="font-size:15px;width: 25%">
                   <%--<a class="btn btn-success" href="${pageContext.request.contextPath}/OrderServlet?id=1&type=standard&days=${pageScope.get("days")}" onclick="return getDays()">预订</a>--%>
                   <button class="btn btn-success" onclick="reservation(1, 'standard')">预定</button>
                 </td>
                </tr>
              <tr>
               <td style="font-size:15px;width: 25%">双人标间</td>
               <td style="font-size:15px;width: 25%">${hotel.queen_num}</td>
               <td style="font-size:15px;width: 25%">${hotel.queen_price}元</td>
               <td style="font-size:15px;width: 25%">
                 <%--<a class="btn btn-success" href="${pageContext.request.contextPath}/OrderServlet?id=1&type=queen" onclick="return getDays()">预订</a>--%>
                   <button class="btn btn-success" onclick="reservation(1, 'queen')">预定</button>
               </td>
              </tr>
              <tr>
               <td style="font-size:15px;width: 25%">大床房</td>
               <td style="font-size:15px;width: 25%">${hotel.home_num}</td>
               <td style="font-size:15px;width: 25%">${hotel.home_price}元</td>
               <td style="font-size:15px;width: 25%">
                 <%--<a class="btn btn-success" href="${pageContext.request.contextPath}/OrderServlet?id=1&type=room" onclick="return getDays()">预订</a>--%>
                   <button class="btn btn-success" onclick="reservation(1, 'room')">预定</button>
               </td>
              </tr>
            </table>
          </div>
        </div>
      </div>
  </div>
  <div class="container-fluid model-8">
    <div class="container">
      <div class="row">
        <div class="col-2">
          <ul>
            <li>
              <h5>酒店预订</h5>
            </li>
            <li><a href="javascript:void(0)">地图预订</a></li>
            <li><a href="javascript:void(0)">企业客户申请</a></li>
            <li><a href="javascript:void(0)">目录预订</a></li>
          </ul>
        </div>
        <div class="col-2">
          <ul>
            <li>
              <h5>家宾会</h5>
            </li>
            <li><a href="javascript:void(0)">会员手册</a></li>
            <li><a href="javascript:void(0)">会员公告</a></li>
            <li><a href="javascript:void(0)">积分商城</a></li>
          </ul>
        </div>
        <div class="col-2">
          <ul>
            <li>
              <h5>加盟合作</h5>
            </li>
            <li><a href="javascript:void(0)">高端酒店品牌</a></li>
            <li><a href="javascript:void(0)">中高端品牌</a></li>
            <li><a href="javascript:void(0)">经济型商旅品牌</a></li>
            <li><a href="javascript:void(0)">亲子品牌</a></li>
            <li><a href="javascript:void(0)">软品牌云酒店</a></li>
            <li><a href="javascript:void(0)">华驿系列轻加盟</a></li>
            <li><a href="javascript:void(0)">招商会行程</a></li>
          </ul>
        </div>
        <div class="col-2">
          <ul>
            <li>
              <h5>酒店集团</h5>
            </li>
            <li><a href="javascript:void(0)">企业文化</a></li>
            <li><a href="javascript:void(0)">大事记</a></li>
            <li><a href="javascript:void(0)">品牌介绍</a></li>
            <li><a href="javascript:void(0)">集团快讯</a></li>
            <li><a href="javascript:void(0)">投资者关系</a></li>
            <li><a href="javascript:void(0)">联系我们</a></li>
            <li><a href="javascript:void(0)">招贤纳士</a></li>
            <li><a href="javascript:void(0)">工程招标</a></li>
          </ul>
        </div>
        <div class="col-4">
          <div class="content">

            酒店预订电话<br>
            <span>400 820 3333 或 1010 3333</span><br>
            服务时间为7点-24点
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="container-fluid footer">
    © 2021 Homeinns Co.,Ltd All Rights Reserved.酒店管理（上海）有限公司
  </div>

</body>

</html>